package com.kl;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@EnableSwagger2
//@EnableEurekaClient
@EnableDiscoveryClient
@EnableFeignClients //开启feign的功能
@EnableCircuitBreaker //开启熔断功能
@MapperScan("com.kl.mapper")
public class KunlunFreightService {
    public static void main(String[] args) {
        SpringApplication.run(KunlunFreightService.class,args);
    }
}
